package com.sc.dal.mapper.member;

import java.util.List;
import java.util.Map;

import com.sc.dal.dto.member.AgentDto;
import com.sc.dal.model.ParamMap;
import com.sc.dal.model.member.Agent;

public interface AgentMapper {
    int deleteByPrimaryKey(String id);

    int insert(Agent record);

    int insertSelective(Agent record);

    Agent selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Agent record);

    int updateByPrimaryKey(Agent record);

	List<AgentDto> selectList(ParamMap paramMap);

	void updateAgentBymId(Agent agent);
	
	/**
	 * 统计总数
	 * @param map
	 * @return
	 */
	List<Integer> findTotal(Map<String, Object> map);
	
}